package controller

import (
	"github.com/gin-gonic/gin"
	"net/http"
	"oss-policy-go/utils/ossutil"
)

func GetOssPolicy(ctx *gin.Context) {
	policyToken := ossutil.GetPolicyToken()
	ctx.JSON(http.StatusOK, policyToken)
}

func OssCallBack(ctx *gin.Context) {
	ossutil.CheckOssCallBack(ctx)
}
